{sdcms:include("sdcms_top.asp")}
<meta name="Keywords" content="{sdcms[seokey]}" />
<meta name="Description" content="{sdcms[seodesc]}" />
<title>{sdcms[webname]}{sdcms[seotitle]}</title>
{sdcms:include("sdcms_base.asp")}
{sdcms:include("sdcms_head.asp")}

    <div class="banner">
      <div class="carousel">
        <div class="item">
            <div class="keypoint bg-blue text-white">
              <h2 class="fadein-top">SDCMS门户版</h2>
              <div class="margin-top margin-bottom fadein-top">国内优秀的ASPCMS，灵活的模板引擎，强大的自定义字段、自定义表单。</div>
              <button class="button bg-white fadein-bottom">详细介绍</button>
            </div>
        </div>
        <div class="item">
            <div class="keypoint bg-yellow text-white text-right">
              <h2 class="fadein-top">SDCMS商城版</h2>
              <div class="margin-top margin-bottom fadein-top">国内优秀的ASPCMS，灵活的模板引擎，强大的自定义字段、自定义表单。</div>
              <button class="button bg-white fadein-bottom">详细介绍</button>
            </div>
        </div>
        <div class="item">
            <div class="keypoint bg-green text-white">
              <h2 class="fadein-top">SDCMS企业版</h2>
              <div class="margin-top margin-bottom fadein-top">国内优秀的ASPCMS，灵活的模板引擎，强大的自定义字段、自定义表单。</div>
              <button class="button bg-white fadein-bottom">详细介绍</button>
            </div>
        </div>
      </div>
    </div>
    
    <div class="tab" data-toggle="hover">
      <div class="tab-head text-right">
        <strong class="text-big">最新内容</strong>
        <span class="tab-more"></span>
        <ul class="tab-nav">
          <li class="active"><a href="#tab-new">最新</a></li>
          <li><a href="#tab-hot">热门</a></li>
      </ul>
      </div>
      <div class="tab-body tab-body-bordered">
        <div class="tab-panel active" id="tab-new">
            <ul class="list-media list-underline">
            {sdcms:rs top="5" field="id,title,style,createdate,isurl,url,classid,pic,ispic,intro" table="sd_content" where="islock=1 and point=0" order="ontop desc,id desc"}
                <li>
                    <div class="media media-x">
                      <a class="float-left" href="{$rs[link]}">
                        <img src="{if $rs[ispic]=0}{skins}/images/nopic.jpg{else}{$rs[pic]}{/if}" class="radius" alt="{$rs[title]}" width="64" height="64">
                      </a>
                      <div class="media-body">
                        <strong><a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a></strong>
                        {sdcms.cutstr(sdcms.nohtml($rs[intro]),90,1)}
                      </div>
                    </div>
                </li>
            {/sdcms:rs}    
            </ul>
        </div>
        <div class="tab-panel" id="tab-hot">
            <ul class="list-media list-underline">
            {sdcms:rs top="5" field="id,title,style,createdate,isurl,url,classid,pic,ispic,intro" table="sd_content" where="islock=1 and point=0" order="hits desc,id desc"}
                <li>
                    <div class="media media-x">
                      <a class="float-left" href="{$rs[link]}">
                        <img src="{if $rs[ispic]=0}{skins}/images/nopic.jpg{else}{$rs[pic]}{/if}" class="radius" alt="{$rs[title]}" width="64" height="64">
                      </a>
                      <div class="media-body">
                        <strong><a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a></strong>
                        {sdcms.cutstr(sdcms.nohtml($rs[intro]),90,1)}
                      </div>
                    </div>
                </li>
            {/sdcms:rs}    
            </ul>
        </div>
      </div>
    </div>

    <div class="collapse">
      {sdcms:rp table="sd_category" top="0" where="followid=0 and modeid>0" order="ordnum,cateid" var="sdcms_dim:sonid" auto="j"}
      <div class="panel active">
        <div class="panel-head"><span class="float-right"><a href="{$rp[link]}">更多>></a></span><h4><strong>{$rp[catename]}</strong></h4></div>
        <ul class="list-group">
            {sdcms:rs top="8" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and classid in([sdcms_dim]) and point=0" order="ontop desc,id desc"}
                <li><span class="float-right text-gray">[{sdcms.getdate($rs[createdate],"-",0)}]</span><a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a></li>
            {/sdcms:rs}    
        </ul>
      </div>
      {/sdcms:rp}
    </div>
{sdcms:include("sdcms_foot.asp")}